package com.link.play.fit.ai.utils

import com.link.play.fit.ai.R

object GradeUtils {
    fun getGradeByIntensity(intensity: Int): String {
        val grade: String = when (intensity) {
            in 0..33 -> {
                AppX.context.getString(R.string.low)
            }

            in 34..66 -> {
                AppX.context.getString(R.string.medium)
            }

            else -> {
                AppX.context.getString(R.string.high)
            }
        }
        return grade
    }
}